.class Lcom/estrongs/android/taskmanager/p;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/CacheManWrapper;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/CacheManWrapper;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/p;->a:Lcom/estrongs/android/taskmanager/CacheManWrapper;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/p;)Lcom/estrongs/android/taskmanager/CacheManWrapper;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/p;->a:Lcom/estrongs/android/taskmanager/CacheManWrapper;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/p;->a:Lcom/estrongs/android/taskmanager/CacheManWrapper;

    iget-wide v0, v0, Lcom/estrongs/android/taskmanager/CacheManWrapper;->totalCacheSize:J

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/p;->a:Lcom/estrongs/android/taskmanager/CacheManWrapper;

    iget-object v0, v0, Lcom/estrongs/android/taskmanager/CacheManWrapper;->mList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/p;->a:Lcom/estrongs/android/taskmanager/CacheManWrapper;

    iget-object v1, v1, Lcom/estrongs/android/taskmanager/CacheManWrapper;->mActivity:Landroid/app/Activity;

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    const v1, 0x1080027

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f07006c

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f070070

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(I)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f0700f6

    new-instance v2, Lcom/estrongs/android/taskmanager/q;

    invoke-direct {v2, p0}, Lcom/estrongs/android/taskmanager/q;-><init>(Lcom/estrongs/android/taskmanager/p;)V

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    const v1, 0x7f070054

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/taskmanager/p;->a:Lcom/estrongs/android/taskmanager/CacheManWrapper;

    invoke-virtual {v0}, Lcom/estrongs/android/taskmanager/CacheManWrapper;->refresh()V

    goto :goto_0
.end method
